package com.zp.crm.util.Tree;

import java.util.List;



public class UiTree {
	private int id;
	
	private String text;
	
	private List<UiTree> children;
	
	private String url;
	
	private boolean checked;
	
	private String state;
	
	private String iconCls;

	public UiTree() {
		super();
	}

	public UiTree(int id, String text, List<UiTree> children, String url, boolean checked, String state,
			String iconCls) {
		super();
		this.id = id;
		this.text = text;
		this.children = children;
		this.url = url;
		this.checked = checked;
		this.state = state;
		this.iconCls = iconCls;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<UiTree> getChildren() {
		return children;
	}

	public void setChildren(List<UiTree> children) {
		this.children = children;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
}
